<%@ Page Language="C#" MasterPageFile="~/MainLayout.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Home" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="Content">
    <form id="form1" runat="server">
    <br /><span class="sectionCaption">Browse submitted forms</span><br />
        <br />
        <asp:GridView ID="SurveysGridView" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None">
            <Columns>
                <asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="GetSurvey.aspx?surveyid={0}"
                    DataTextField="id" HeaderText="Survey ID" NavigateUrl="~/GetSurvey.aspx" />
                <asp:BoundField DataField="enteredBy" HeaderText="Entered By" />
                <asp:BoundField DataField="enteredOn" HeaderText="Entered On" />
                <asp:BoundField DataField="firstName" HeaderText="First Name" />
                <asp:BoundField DataField="lastName" HeaderText="Last Name" />
                <asp:BoundField DataField="postalCode" HeaderText="Postal Code" />
            </Columns>
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#999999" />
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        </asp:GridView>
        <br />
    </form>
</asp:Content>